package com.young.springdemo.service.flyweigh;

//围棋享元抽象类
public abstract class IgoChessman {
    public abstract String getColor();

    public void display(Coordinates coordinates){
        System.out.println("this igo color"+getColor()+"坐标为 "+coordinates.getX()+"==="+coordinates.getY());

    }

}
